var arrList = new Array(1, 2, 3, 4, 5);

arrList.forEach((item) => console.log(item));

for (let index = arrList.length - 1; index >= 0; index--) {
  console.log(arrList[index]);
}

for (let i in arrList) {
  console.log(arrList[i]);
}
